package com.vdong.common.oauth.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author llh
 * Created on 2018/06/14.
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel("用户登录信息(wx.getUserInfo)")
public class AppUserLoginInfoDTO implements Serializable {
    @ApiModelProperty("昵称")
    private String nickname;
    @ApiModelProperty("头像")
    private String headimgurl;
    @ApiModelProperty("国家")
    private String country;
    @ApiModelProperty("省")
    private String province;
    @ApiModelProperty("市")
    private String city;
    @ApiModelProperty("语言")
    private String language;
    @ApiModelProperty("性别 0未知1男性2女性")
    private Integer sex;

    private String openid;

    private String unionid;
}
